package com.wutong.authority_server.entity;

import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @program: authority_server
 * @description:
 * @author: Leslie Lau
 * @create: 2020-05-20 19:42
 */
@Getter
@Setter
@NoArgsConstructor
public class TreeData {

    private Long id;
    private String label;
    private Boolean disabled = false;
    private List<TreeData> children;
    private Long pid;
    private Integer reallyId;
    private Boolean isSch = false;

    public TreeData(Long id, String label, Boolean disabled, Long pid, Integer reallyId, Boolean isSch) {
        this.id = id;
        this.label = label;
        this.disabled = disabled;
        this.pid = pid;
        this.reallyId = reallyId;
        this.isSch = isSch;
    }

}